package com.mingqijia.gassafety.authority.dal.command;

import com.mingqijia.gassafety.shared.cqrs.CreateCommand;
import com.mingqijia.gassafety.shared.enums.PrivilegeType;
import com.mingqijia.gassafety.shared.enums.RunningState;
import com.mingqijia.gassafety.shared.enums.SubjectType;
import lombok.Builder;
import lombok.Data;

/**
 * 新建命令
 * @author Damon S.
 * @version v0.2
 * @date 2021-06-19
 */
@Data
@Builder
public class CreatePrivilegeCommand implements CreateCommand {
    private String subjectId;
    private SubjectType subjectType;
    private PrivilegeType privilegeType;
    private String data;
    private RunningState state;
    private String spId;
    private String createdBy;
}
